#include "ota_http_curl.h"
#include "log.h"
int main(int argc, char const *argv[])
{
    ResponseBody *response_body=  ota_http_get("http://192.168.34.76:8000/fileinfo.json");
    log_info("访问结束");
    log_info("response_body->str:%s",response_body->str);
    
    ota_http_download("http://192.168.34.76:8000/download/gateway","/home/atguigu/gateway");
    
    return 0;
    

}
